package com.why.cachecloud;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Created by why.developer
 *
 * -Djps.track.ap.dependencies=false
 */
@Slf4j
@SpringBootApplication(exclude = {MybatisAutoConfiguration.class})
@EnableScheduling
public class ApplicationStarter {

    public static void main(String[] args) {
        try {
            log.warn("项目启动中...");
            SpringApplication.run(ApplicationStarter.class, args);
            log.warn("项目启动成功...http://192.168.0.34:8090/manage/login");
        } catch (Exception e) {
            e.printStackTrace();
            log.error("项目启动失败", e);
        }
    }
}
